#!/bin/bash

docker run -v /var/run/docker.sock:/var/run/docker.sock -v /root/demo-notice:/root -e ACTION_WORKDIR=/root -e ACTION_OPTIONS="-am -pl cp-notice-starter -Dmaven.test.skip=true" -e ACTION_TARGET=cp-notice-startger/target/cnooc-notice-starter-1.0-SNAPSHOT.jar -e ACTION_SERVICE=accounting-web -e GITTAR_REPO=jzdtest -e GITTAR_BRANCH=master -e DICE_OPERATOR_ID=jzd -e CENTRAL_REGISTRY=registry.erda.cloud -e LOCAL_REGISTRY=registry.default.svc.cluster.local:5000 -e NEXUS_ADDR=nexus.default.svc.cluster.local:8081 -e NEXUS_USERNAME=admin -e NEXUS_PASSWORD=admin123  --entrypoint /opt/action/run registry.erda.cloud/erda/mvn-action:v1.0